package com.example.pufang.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("登录列表返回Vo ")
@Accessors(chain = true)
public class LoginLogVo {

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "日志id")
    private String id;

    @ApiModelProperty(value = "登录人id")
    private Integer userId;

    @ApiModelProperty(value = "登录人手机号")
    private String userPhone;

    @ApiModelProperty(value = "登录人用户名")
    private String username;

    @ApiModelProperty(value = "登录人真实姓名")
    private String realName;

    @ApiModelProperty(value = "是否登录成功")
    private Boolean success;

    @ApiModelProperty(value = "登录时间")
    private Date createTime;

}
